<h2>Write the article</h2>

Write the article. Select the type (gossip or news) from the drop down menu. 

<?php echo validation_errors(); ?>

<?php echo form_open('welcome_admin/admin_report_write') ?>

	<label for="title">Title</label> &nbsp;&nbsp;&nbsp;&nbsp;
									 &nbsp;&nbsp;&nbsp;&nbsp;
									 &nbsp;&nbsp;&nbsp;&nbsp;
									 &nbsp;&nbsp;&nbsp;
									 
	<input type="input" name="title" required/><p>
	<label for="Article type"> Article Type</label> &nbsp;&nbsp;&nbsp;&nbsp;	
													
	
	<select name="news_type" required value="">
		<option value = "news"> News </option>
		<option value = "gossip"> Gossip </option>
	</select><p>
	<label for="text" maxlength = "128" required>Report details: </label> 
	<textarea name="text" id = 'text' rows = "10" cols = "50" maxlength = "128" required></textarea>
	<?php echo display_ckeditor($ckeditor); //not working. find out. ?>
	
	<p>
	
	<input type="submit" name="submit" value="Create news item" /> 


